Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Apr 2001
Posts: 1
Lurker
Lurker
Offline
Joined: Apr 2001
Posts: 1
I use wwwthreds inside a password protected folder that uses htacces file to allow users in
I would like that the board will only acces usernames in that files, or that it would automatically ad the usernames and passwords in that file so members do not have ot register twice...
My main problem is that I do not want people to be using more than one username
One fee = one username
But people just get in an register as many accounts as e-mail address they can get...

Any solution, and we are willing to pay a programmer, will do... perhaps making the board the main entry to our password protected folder...

Any suggestion?
Thanks

Sponsored Links
Joined: Aug 2000
Posts: 12
Newbie
Newbie
Offline
Joined: Aug 2000
Posts: 12
I did this for my site about 5 or 6 months ago and it took some deep tweaking. I'm using the perl version but it should work similarly for the PHP. Also, I don't know what type of billing system you have or which third party system you're using so this might be slightly different on your end.

When a new user joins my site, a perl script is hit which writes the users info to the .htpasswd file. I tweaked this script to also write to the wwwthreads member database. I use the new members username for the wwwthreads username and password. (note: I also have code to remove the users wwwthreads account when they are removed from the .htpasswd file)

Now, in the wwwthreads scripts, I removed the ability for users to edit their password, and fixed the login/logout pages so that the username and password fields are hidden fields that contain the environmental variable for their username.

Even with all this tweaking, it's only made it more convenient in that a user only needs to click the "board login" button once they've logged into the members area. I'm currently working on setting the user login to wwwthreads as soon as they enter the members front page but I've run into a couple snags. Posted a message over on the perl forum but haven't gotten a reply.

Here's the cross post in case I get any replies there:
https://ubbdev.com/threads/perl/showflat.pl?Cat=&Board=questions&Number=43179&page=0&view=collapsed&sb=5&o=0&fpart=

- Simon

Note to Rick: I feel that wwwthreads has the potential to become more of an entire website content management system. You've already separated out the data layer (which is what brought me to wwwthreads to begin with), it would be nice to also see the application and presentation layers more separated.





Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Ruben Rocha
Ruben Rocha
Lutz,FL,USA
Posts: 253
Joined: January 2000
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 413
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 21
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)